package com.st.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;


/**
 * 课程章节对象 st_course_chapters
 *
 * @author zhw
 * @date 2024-10-24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("st_course_chapters")
public class StCourseChapters  implements Serializable
        {
private static final long serialVersionUID = 1L;

    /** 编号 */
        @TableId(value="id",type=IdType.AUTO)
    private Integer id;

    /** 所属课程 */
            @Excel(name = "所属课程")
        @TableField(value = "course_id")
    private Integer courseId;

    /** 章节名称 */
            @Excel(name = "章节名称")
        @TableField(value = "chapter_name")
    private String chapterName;

    /** 章节视频地址 */
        @TableField(value = "video_url")
    private String videoUrl;

    /** 章节分钟数 */
            @Excel(name = "章节分钟数")
        @TableField(value = "duration_minutes")
    private Integer durationMinutes;

            @TableField(exist = false)
            private Integer studyStatus;



}
